//
//  WMHorseRaceLampView.h
//  WMHorseRaceLampView
//
//  Created by 徐秀滨 on 2019/12/16.
//  Copyright © 2019 ZoeHealth. All rights reserved.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

@protocol WMHorseRaceLampViewDelegate <NSObject>

- (void)clickAtIndex:(NSInteger)index;

@end

@interface WMHorseRaceLampView : UIView

@property (nonatomic, strong) NSArray *dataSource;
@property (nonatomic, assign) CGFloat interval;
@property (nonatomic, assign) CGFloat fontSize;//默认14
@property (nonatomic, weak) id<WMHorseRaceLampViewDelegate> delegate;

- (void)startRace;
- (void)endRace;

@end

NS_ASSUME_NONNULL_END
